package exp1;

import java.util.Scanner;
import java.util.Random;

public class PP0308{
  public static void main(String[] args){
    Random R = new Random();
    Scanner scan = new Scanner(System.in);
    
    int a;
    double b,c,d,e;
    
    a = R.nextInt(21)+20;

    b = a;
    c = Math.sin(b);
    d = Math.cos(b);
    e = Math.tan(b);

    System.out.println("随机数: " + a + "\n正弦: " + c + "\n余弦: " + d + "\n正切: " + e);
  }
}
